package com.kitty.game.rank.message;

import com.kitty.mina.Modules;
import com.kitty.mina.annotation.MessageMeta;
import com.kitty.mina.message.Message;

@MessageMeta(module = Modules.CMD_CROSS_RANK_VIEW)
public class ReqCrossRankView extends Message {
    /**排行榜类型*/
    private short rankType;
    /**等级段类型，没有等级段为 ""，否则如 "120-129"*/
    private String levelLimit;
    /**排行榜 cookie，与本服排行榜不同，没有排行榜的每个等级段 cookie 都不同，客户端需要记录下来，下一次请求时发给服务器*/
    private int cookie;

    public short getRankType() {
        return rankType;
    }

    public void setRankType(short rankType) {
        this.rankType = rankType;
    }

    public String getLevelLimit() {
        return levelLimit;
    }

    public void setLevelLimit(String levelLimit) {
        this.levelLimit = levelLimit;
    }

    public int getCookie() {
        return cookie;
    }

    public void setCookie(int cookie) {
        this.cookie = cookie;
    }
}
